package com.project.pojo.model;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @Description: 根据旧密码修改登录密码
 * @Author: zhuchi
 * @CreateDate: 2020/6/18 14:21
 * @Version: 1.0
 */
@Data
public class UpdatePasswordByPasswordModel {

    /**
     * 密码
     */
    @NotBlank(message = "{validation.password}")
    private String password;

    /**
     * 旧密码
     */
    @NotBlank(message = "{validation.oldPassword}")
    private String oldPassword;

}
